package com.hyt.it.ogt.ks.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.hyt.it.ogt.ks.feign.hystrix.KwgovClientHystrix;


@FeignClient(name = "it-ogt-kw-gov${gov.tag:}", fallback = KwgovClientHystrix.class)
public interface KwgovCilent {

	 @GetMapping("/api/ks/getTaskInfo")
	 String getTaskInfo(@RequestParam String taskId);
	 
	 @GetMapping("/api/ks/getCandidateArea")
	 String getCandidateArea(@RequestParam String taskId, @RequestParam String timeId, @RequestParam String admissionNumber);
}
